project_name = 'template'
version = 'template_v1'
log_config = dict(
    directory='log',  # 日志保存相对路径
    is_write_file=True,  # 是否写入文件
    is_display_terminal=True,  # 是否控制台打印
    log_record_level='DEBUG',  # ['DEBUG','INFO','WARNING','ERROR','CRITICAL']
    debug_file_name=f"""{project_name}_debug.log""",
    info_file_name=f"""{project_name}_info.log""",
    warning_file_name=f"""{project_name}_warning.log""",
    error_file_name=f"""{project_name}_error.log""",
    critical_file_name=f"""{project_name}_critical.log""",
    file_max_size='100 MB',  # 保存日志大小
    expiration_date='80 days'  # 日志有效期
)
